//
//  GBNavigationController.m
//  sc-cyan-ios
//
//  Created by lvjian01 on 2017/12/14.
//  Copyright © 2017年 greenbuilding. All rights reserved.
//

#import "GBNavigationController.h"

@interface GBNavigationController ()

@end

@implementation GBNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    //导航栏背景色
    [self.navigationBar setBackgroundImage:[UIImage createImageWithColor:[UIColor gb_naviBarBackgroundcolor]] forBarMetrics:UIBarMetricsDefault];
    //导航栏字体
    [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor gb_textColor_4D4D4D],NSFontAttributeName:[UIFont systemFontOfSize:16.0]}];
    
    self.navigationBar.translucent = NO;
    
//    self.navigationBar.barTintColor = [UIColor mainBodyColor];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
